/**
 * @package     Expose
 * @version     4.0
 * @author      ThemeXpert http://www.themexpert.com
 * @copyright   Copyright (C) 2010 - 2011 ThemeXpert
 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3
 **/

.megamenu { margin: 0; padding: 0; }
.megamenu a.over, .megamenu a.active {}

ul.megamenu { margin: 0; padding: 0; /* menu's gutter */ }

ul.megamenu li { overflow: visible; }
.megamenu span.mega{cursor: default}

/* lv - 0
-----------------------------------*/
/* Styling ---*/
.megamenu ul.level-0 {
	margin: 0;
	padding: 0;
}
.megamenu ul.level-0 li.mega {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	position:relative;
	/*z-index:2;*/
}

.megamenu ul.level-0 li.mega a.mega,
.megamenu ul.level-0 li.mega span.mega{
	display: block;
	/*font-weight: bold;*/
	line-height: 29px;
	margin: 0;
	padding: 8px 8px;
	text-decoration: none;
}
.megamenu ul li.has-desc .menu-title{
    line-height: 16px;
}
.megamenu ul li.has-desc .menu-desc{
    line-height: 13px;
}
.megamenu ul.level-0 li.mega .has-image {
	padding-left: 35px;
	display: block;
	background-repeat: no-repeat;
	background-position: 0;
}

.megamenu ul.level-0 li.mega span.menu-title { display: block; }

.megamenu ul.level-0 li.mega span.menu-desc {
	display: block;
	font-weight: normal;
	font-size: 92%;
}

.megamenu ul.level-0 li.mega a img {
	float: left;
	padding-right: 5px;
}

.megamenu ul.level-0 li.over, ul.level-0 li.has-submenu-over {}

#menu .megamenu ul.level-0 > li.has-submenu > a.mega,
#menu .megamenu ul.level-0 > li.has-submenu > span.mega{
	background: url(../images/arrow-down.png) no-repeat 100% 0;
	padding-right: 12px;
}
#menu .megamenu ul.level-0 > li.has-submenu:hover > a.mega,
#menu .megamenu ul.level-0 > li.has-submenu:hover > span.mega
{
    background-position: 100% -100px;
}

#menu .megamenu ul.level-0 li.has-submenu a.mega span.menu-desc,
#menu .megamenu ul.level-0 li.has-submenu span.mega span.menu-desc
{padding-right: 12px;}

.megamenu ul.level-0 li.active {}

/* lv - 1 and below
-----------------------------------*/
/* Layout ---*/
.megamenu li.mega .childcontent { display: none; height: auto; position: absolute; border:1px solid #eee; }

.megamenu li.has-submenu:hover > .childcontent,
.megamenu li.mega li.has-submenu:hover > .childcontent,
.megamenu li.mega li.mega li.has-submenu:hover > .childcontent,
.megamenu li.mega li.mega li.mega li.has-submenu:hover > .childcontent,
.megamenu li.mega li.mega li.mega li.mega li.has-submenu:hover > .childcontent,
.megamenu li.mega li.mega li.mega li.mega li.mega li.has-submenu:hover > .childcontent { left: auto; visibility: visible; }

.megamenu li.mega .right,
.megamenu li.has-submenu-over li.mega .right,
.megamenu li.mega li.has-submenu-over li.mega .right ,
.megamenu li.mega li.mega li.has-submenu-over li.mega .right,
.megamenu li.mega li.mega li.mega li.has-submenu-over li.mega .right,
.megamenu li.mega li.mega li.mega li.mega li.has-submenu-over li.mega .right { right: auto; /*hide the menu*/ }

.megamenu li.has-submenu-over .right
{ right: 0; /*show on parent:hover*/ }
.megamenu li.mega li.has-submenu-over .right,
.megamenu li.mega li.mega li.has-submenu-over .right,
.megamenu li.mega li.mega li.mega li.has-submenu-over .right,
.megamenu li.mega li.mega li.mega li.mega li.has-submenu-over .right,
.megamenu li.mega li.mega li.mega li.mega li.mega li.has-submenu-over .right
{ right: 12em; /*show on parent:hover*/ }

.megamenu ul.level-1 li.mega { float: none; }

.megamenu ul.level-1 .childcontent {  }/*margin: -2em 0 0 160px;*/

 /* Columns ---*/
.megamenu .megacol { float: left;}

/* Styling ---*/
.megamenu ul.level-1 li.mega {}

.megamenu ul.level-1 li.first {}

.megamenu ul.level-1 li.mega a.mega {
	background: none;
	border: 0;
	font-weight: normal;
	padding: 0 10px;
}
.megamenu ul.level-1 li.mega .group-content > ul > li > a,
.megamenu ul.level-1 li.mega .group-content > ul > li > span{
    padding: 4px ;
    font-size: 85%;
    margin: 0 10px;
}

.megamenu ul.level-1 li.mega a.mega span.menu-title,
.megamenu ul.level-1 li.mega a.mega span.menu-desc{ background: none; padding: 0; }
.megamenu ul.level-1 li.has-submenu,
.megamenu ul.level-1 li.has-submenu-over {
	background-image: url(../images/arrow.png);
	background-repeat: no-repeat;
	background-position: 95% center;
	padding: 0;
	position:relative;
}

.megamenu ul.level-1 li.over, ul.level-1 li.has-submenu-over {}
.megamenu ul.level-1 li.group { background: none; }

 /* CHILD CONTENT
-----------------------------------*/
.megamenu .childcontent {z-index: 10;}
.megamenu .childcontent-inner {background: #fff;}
.megamenu .level-1 .childcontent-inner {}

/* Grouped --- */
.megamenu .group {}
.megamenu .group-title { overflow: hidden; }
.megamenu .group-title .menu-title {}
.megamenu .group-title .menu-desc {padding-left: 0 !important;}
.megamenu .group-content ul.megamenu  {margin: 0; /* Group-content's gutter*/}
.megamenu .group-content ul.megamenu .group-content{padding: 0 10px;}

/* reset --- */
.megamenu .childcontent ul.megamenu .moduletable {padding: 0;}

.megamenu .childcontent ul.megamenu .moduletable h3 {margin-left: 0;margin-right: 0;}

.fancy{ position:absolute; width:auto; height:auto; background:#eee; z-index:1; list-style:none;}